







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Makes a shallow clone of this bag; i.e., if items of the
bag are reference types, then they are not cloned. If T is a value type,
then each element is copied as if by simple assignment.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public OrderedBag<T> Clone() |
Visual Basic (Declaration) |
---|
Public Function Clone As OrderedBag(Of T) |
Visual C++ |
---|
public: OrderedBag<T>^ Clone () |
Return Value
The cloned bag.
Remarks
Cloning the bag takes time O(N), where N is the number of items in the bag.
See Also
OrderedBag<(Of <T>)> Class
Wintellect.PowerCollections Namespace